const Ums = () => import('@/views/Ums/index.vue')
const UmsUser = () => import('@/views/Ums/User/index.vue')
const UmsRole = () => import('@/views/Ums/Role/index.vue')

const routes = [
  {
    path: '/ums',
    name: 'ums',
    component: Ums,
    meta: { title: '系统管理', icon: 'Setting', orderNo: 80 },
    children: [
      {
        path: 'user',
        name: 'umsUser',
        component: UmsUser,
        meta: { title: '用户列表' }
      },
      {
        path: 'role',
        name: 'umsRole',
        component: UmsRole,
        meta: { title: '角色列表' }
      }
    ]
  }
]

export default [] || routes
